package cn.btks.resultintegration.rule.service.impl;

import cn.btks.resultintegration.rule.pojo.EIACategory;
import cn.btks.resultintegration.rule.repository.EIACategoryRepository;
import cn.btks.resultintegration.rule.service.EIACategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/2/19 10:47
 */
@Service
public class EIACategoryServiceImpl implements EIACategoryService {

    @Autowired
    EIACategoryRepository eiaCategoryRepository;

    @Override
    public List<EIACategory> findAllEIACategory() {
        return eiaCategoryRepository.findAll();
    }
}
